package com.biz.primus.model.depot.vo;

import com.biz.primus.base.enums.CommonStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * FreightTemplateDetailRespVo
 *
 * @author JKLiues
 * @date 2017年11月03日
 */
@Getter
@Setter
@ApiModel("运费模板详情VO")
public class FreightTemplateDetailRespVo implements Serializable {
    private static final long serialVersionUID = 1753110187278178543L;

    @ApiModelProperty("运费模板ID")
    private String id;
    /**
     * 模板编号
     */
    @ApiModelProperty("模板编号")
    private String freightCode;
    /**
     * 物流公司
     */
    @ApiModelProperty("物流公司")
    private String logisticCompany;

    /**
     * 简要描述
     */
    @ApiModelProperty("简要描述")
    private String description;

    /**
     * 生效时间
     */
    @ApiModelProperty("生效时间")
    private Timestamp beginDate;

    /**
     * 失效时间
     */
    @ApiModelProperty("失效时间")
    private Timestamp endDate;

    /**
     * 是否可用
     */
    @ApiModelProperty("是否可用")
    private CommonStatus status = CommonStatus.ENABLE;

    /**
     * 首重(g)
     */
    @ApiModelProperty("首重(g)")
    private Integer baseWeight;
    /**
     * 满XX免邮费
     */
    @ApiModelProperty("满XX免邮费")
    private Integer freeCost;

    /**
     * 续重(g)
     */
    @ApiModelProperty("续重(g)")
    private Integer stepWeight;

    /**
     * 续重(g)
     */
    @ApiModelProperty("续重(g)")
    private Integer baseCost;

    /**
     * 续费(分)
     */
    @ApiModelProperty("续费(分)")
    private Integer stepCost;
}